package com.atguigu.structure.flyweight;

public class ConcreteWebSite extends WebSite{
    private String type;

    public ConcreteWebSite(String type) {
        this.type = type;
    }

    @Override
    protected void use(User user) {
        System.out.println(type+"类型的网站已经创建好并由"+user.getName()+"使用中...");
    }
}
